//
//  LZImageCropping.h
//  CroppingImage
//

//

#import <UIKit/UIKit.h>
@class ImageCropper;
@protocol ImageCroppingDelegate <NSObject>

-(void)lzImageCroppingDidCancle:(ImageCropper *)cropping;
-(void)lzImageCropping:(ImageCropper *)cropping didCropImage:(UIImage *)image;

@end

@interface ImageCropper : UIViewController

@property(nonatomic,weak)id<ImageCroppingDelegate>delegate;

/**
 裁剪的图片
 */
@property(nonatomic,strong)UIImage *image;

/**
 裁剪区域
 */
@property(nonatomic,assign)CGSize cropSize;


/**
 是否裁剪成圆形
 */
@property(nonatomic,assign)BOOL isRound;

@end
